<?php
/**
 * RedCross Application
 *
 * @copyright Copyright (c) 2010, Kristian Stokke Tryggestad, Rune Vikestad, Andreas Flaten Wist, Simen Nicolai Echholt, Ole Henrik Jahren
 */


class Core_Gateway_Postal extends RedCross_Gateway_GatewayAbstract
{
    
    public function __construct()
    {
        $this->_class = 'Postal';
        $this->_modelPath = 'RedCross_Gateway_Base';
    }

    public function fetchAll($paginate = false)
    {
        $query = Doctrine_Query::create()
		    ->select()
			->from($this->getModelClass() . ' p');

		return $query->fetchArray();
    }
}